explain vector differentiation